<a href="#" data-dropdown="class_dropdown" class="small button secondary">Classroom</a>
<a href="#" data-dropdown="attendance_dropdown" class="small button secondary">Attendance</a>

<ul id="class_dropdown" class="f-dropdown" data-dropdown-content>
	<li><a href="<?=site_url(array('teacher','view_room_data', $room_id)); ?>">Class Details</a></li>
	<li><a href="<?=site_url(array('teacher','my_classes')); ?>">Students</a></li>
</ul>

<ul id="attendance_dropdown" class="f-dropdown" data-dropdown-content>
	<li><a href="<?=site_url(array('teacher','attendance',$room_id));?>">Class Attendance</a></li>
	<?if($this->uri->segment(2) !== 'new_attendance'):?>
		<hr />
		<li><a href="<?=site_url(array('teacher','new_attendance',$room_id));?>" style="color: green;">New Attendance</a></li>
	<?endif;?>
</ul>

